﻿using Abp.Application.Services;
using System.Threading.Tasks;

namespace Choucius.Boilerplate9.RfidData
{
    /// <summary>
    /// UR5002 / UR6258
    /// </summary>
    public interface IRfidDataAppService : IApplicationService
    {
        /// <summary>
        /// 获取RFID数据
        /// </summary>
        /// <returns></returns>
        Task<string> GetRfidDataAsync();

        /// <summary>
        /// 写入RFID数据
        /// </summary>
        /// <param name="dataToWrite"></param>
        void WriteDataToRfid(string dataToWrite);
    }
}
